import request from '@/utils/request'

/**
 * 新增、修改评价类别
 * @param {object} data
 * @returns
 */
export function saveEvaluateTypeSetting(data) {
  return request({
    url: '/api/v1/decorateCategory',
    method: data.id ? 'put' : 'post',
    data
  })
}
